package com.car.dal.object;


import java.util.Date;

import com.car.annotation.DBField;
import com.car.annotation.DBTable;


@DBTable(tableName = "tg_usergrade", defaultSort = "id", defaultDir = "desc")
public class TgUsergrade {
    @DBField(field = "id")
    private Long id;
    @DBField(field = "type")
    private Integer type;
    @DBField(field = "add_username")
    private String add_username;
   
    @DBField(field = "add_nickname")
    private String add_nickname;
    
    @DBField(field = "username")
    private String username;
    @DBField(field = "fraction")
    private Integer fraction;
    @DBField(field = "avg")
    private Integer avg;
    
    public Integer getAvg() {
		return avg;
	}

	public void setAvg(Integer avg) {
		this.avg = avg;
	}

	@DBField(field = "nickname1")
    private String nickname1;
    @DBField(field = "nickname2")
    private String nickname2;
    
    @DBField(field = "date")
    private String date;
    @DBField(field = "msg")
    private String msg;
    
    @DBField(field = "create_time")
    private Date create_time;

    private Long firstrownum;
    private Long pagesize;
    
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAdd_username() {
		return add_username;
	}

	public void setAdd_username(String add_username) {
		this.add_username = add_username;
	}

	public String getAdd_nickname() {
		return add_nickname;
	}

	public void setAdd_nickname(String add_nickname) {
		this.add_nickname = add_nickname;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getFraction() {
		return fraction;
	}

	public void setFraction(Integer fraction) {
		this.fraction = fraction;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public String getNickname1() {
		return nickname1;
	}

	public void setNickname1(String nickname1) {
		this.nickname1 = nickname1;
	}

	public String getNickname2() {
		return nickname2;
	}

	public void setNickname2(String nickname2) {
		this.nickname2 = nickname2;
	}

	public Long getFirstrownum() {
		return firstrownum;
	}

	public void setFirstrownum(Long firstrownum) {
		this.firstrownum = firstrownum;
	}

	public Long getPagesize() {
		return pagesize;
	}

	public void setPagesize(Long pagesize) {
		this.pagesize = pagesize;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	
    
}
